package com.jy.entity;



import java.util.HashMap;


public class QueryPageParam {

    //默认值
    private static Integer PAGE_SIZE = 20;
    private static Integer PAGE_NUM = 1;

    private int size=PAGE_SIZE;
    private int current=PAGE_NUM;

    private HashMap param = new HashMap();

    public static Integer getPageSize() {
        return PAGE_SIZE;
    }

    public static void setPageSize(Integer pageSize) {
        PAGE_SIZE = pageSize;
    }

    public static Integer getPageNum() {
        return PAGE_NUM;
    }

    public static void setPageNum(Integer pageNum) {
        PAGE_NUM = pageNum;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getCurrent() {
        return current;
    }

    public void setCurrent(int current) {
        this.current = current;
    }

    public HashMap getParam() {
        return param;
    }

    public void setParam(HashMap param) {
        this.param = param;
    }

    @Override
    public String toString() {
        return "QueryPageParam{" +
                "size=" + size +
                ", current=" + current +
                ", param=" + param +
                '}';
    }
}
